home *** CD-ROM | disk | FTP | other *** search
- Path: news.cc.sunysb.edu!engws12!bmadhusu
- From: bmadhusu@engws12.ic.sunysb.edu (Bommasamudram Madhusudan)
- Newsgroups: comp.lang.c
- Subject: What the hell is THIS?!
- Date: 12 Jan 1996 23:40:01 GMT
- Organization: SUNY Stony Brook
- Message-ID: <4d6rgh$rfu@abel.cc.sunysb.edu>
- NNTP-Posting-Host: engws12.cc.sunysb.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- hi guys;
-
- I'm going nuts trying to figure this out;
-
- Can someone explain what
-
- int (*p)[3] is?????
-
- Is this an array of pointers to integers
-
- OR
-
- a pointer to an array of integers?? HELP!
-
- I can say things like:
-
- (*p)[0] = 3; for e.g, but when I print the value using:
-
- printf("%d",(*p)[0]) I get a core dump!
-
-
-
-
- Thanks,
-
-